Generic syntactic analyser: ParsErl
نویسندگان
چکیده
The increasing demand in automatic code transformation tools – which can preserve the layout, and can handle the whole macro syntax – led us to develop our scanner and parser tool. ParsErl is a generic syntactic analyser for Erlang. The scanner and the parser are generated from an XML definition of the grammar. The result of the scanning process is a graph, which can be optimised or balanced for applications. The tool can preserve the original layout of the source code, including the original macro definitions. Our preprocessor creates connection between the original source code’s tokens and syntax tree’s nodes. We can provide the substituted and parsed code for the applications and we can generate the original source code back, when it is needed.
منابع مشابه
Developing a syntactic analyser for Estonian
The aim of the present article is to give an overview of the current state of syntactic analysis of Estonian and describe problems that were encountered in the generation of syntactic rules for the syntactic analyser of Estonian. So far only the rules based on linguistics have been used. This article is focused on the statistical methods in syntactic analysis and it describes the experiments of...
متن کاملDesign and Development of a System for the Detection of Agreement Errors in Basque
This paper presents the design and development of a system for the detection and correction of syntactic errors in free texts. The system is composed of three main modules: a) a robust syntactic analyser, b) a compiler that will translate error processing rules, and c) a module that coordinates the results of the analyser, applying different combinations of the already compiled error rules. The...
متن کاملROSA Analyser: An automatized approach to analyse processes of ROSA
In this work we present the first version of ROSA Analyser, a tool designed to get closer to a fully automatic process of analysing the behaviour of a system specified as a process of the Markovian Process Algebra ROSA. In this first development stage, ROSA Analyser is able to generate the Labelled Transition System, according to ROSA Operational Semantics. ROSA Analyser performance starts with...
متن کاملA Cascaded Syntactic Analyser for Basque
This article presents a robust syntactic analyser for Basque and the different modules it contains. Each module is structured in different analysis layers for which each layer takes the information provided by the previous layer as its input; thus creating a gradually deeper syntactic analysis in cascade. This analysis is carried out using the Constraint Grammar (CG) formalism. Moreover, the ar...
متن کاملSyntactic Approach to Constructions of Generic Models
In the present article the syntactic approach to construction of generic models generalizing known semantic one is described. It is established a sufficient condition of homogeneity of generic model.It is shown that at the syntactic approach any countable homogeneous model is generic. Criterions and a sufficient condition of saturation of generic models formed at the syntactic way of its constr...
متن کامل